package com.xbongbong.saas.domain.entity;

import com.xbongbong.paas.toolbox.util.DateUtil;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author long.rao
 * @version v1.0
 * @date 2019/2/23 15:53
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class ContractSurchargeEntity implements Serializable {
    private static final long serialVersionUID = -1993388367173992151L;

    //
    private Long id;
    //
    private String corpid;
    //合同id
    private Long contractId;
    //费用名称
    private String surchargeName;
    //运算类型 1加 2减
    private Integer surchargeType;
    //费用金额
    private Double amount;
    //
    private Long addTime;
    //
    private Long updateTime;
    //
    private Integer del;

    public ContractSurchargeEntity() {
        long now = DateUtil.getInt();
        addTime = now;
        updateTime = now;
        del = 0;
    }
}
